<html lang="zh-CN">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.js"></script>
    <link rel="stylesheet" type="text/css" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <link rel="stylesheet" href="{{asset('css/novel.css')}}">
</head>
<body>
    <div class="container-fluid">
        <div class="">
            <h4 style="margin-left: 10px">
                <a href="{{url('/')}}">首页</a>
            </h4>
        </div>
        <div>
            <table class="table table-striped">
                @foreach ($chapter_list as $chapter)
                    <tr>
                        <td>
                            <a href="{{url('content',['chapter_id'=>$chapter->id,'novel_id'=>$novel_id])}}">
                                {{$chapter->chapter_name}}</a>
                        </td>
                    </tr>
                @endforeach
            </table>
        </div>
        <div>
            {{ $chapter_list->links() }}
        </div>
    </div>
</body>
</html>